/*
 * @Description: 
 * @Version: 1.0
 * @Author: Ausen
 * @Date: 2023-03-16 10:08:59
 * @LastEditors: Ausen
 * @LastEditTime: 2023-04-28 20:27:05
 */
/*  -------------------------- (C) COPYRIGHT 2022 Fortiortech ShenZhen ---------------------------*/
/**
 * @copyright (C) COPYRIGHT 2022 Fortiortech Shenzhen
 * @file
 * @author    Fortiortech  Appliction Team
 * @since     Create:2022-07-14
 * @date      Last modify:2022-07-14
 * @note      Last modify author is Leo.li
 * @brief
 */

/* Includes -------------------------------------------------------------------------------------*/
#include <FU68xx_2.h>
#include <Myproject.h>

/**
 * @brief       GPIO初始化配置,可将I/O口配置成输入或输出模式，上拉还是不上拉，模拟输出还是数字输出
 * @data        2022/08/12
 */
void GPIO_Init(void)
{
  P0_OE = P01 | P05 | P06 | P07; // LED控制P05，P06，P07，发热丝控制->P01
  P0_PU = P05 | P06 | P07;       // 内部上拉 //P02,P03按键



  P3_PU = P33; // 按键控制温度
  
  LED_OFF;
  RGB(0,0,0);


  ClrBit(P0_PU, P01); // diasable P11 Pull Up
  GP01 = 1;           // 关闭发热丝
}
